#!/bin/bash

case "$1" in
    "run")
        docker-compose -f ../docker/kafka.yaml up -d
        ;;
    "close")
        docker-compose -f ../docker/kafka.yaml stop
        docker rm -f $(docker-compose -f ../docker/kafka.yaml ps -aq)
        ;;
esac